<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <title>
    <%= htmlWebpackPlugin.options.title %>
  </title>
  <link rel="shortcut icon" href="./static/favicon.ico" type="image/x-icon">
  <!-- 按需注入外联脚本 -->
  <% if (htmlWebpackPlugin.options.isProd) { %>
    <%=`
      <link href="https://cdn.bootcss.com/nprogress/0.2.0/nprogress.min.css" rel="stylesheet">
      <script src="https://cdn.bootcss.com/nprogress/0.2.0/nprogress.min.js"></script>
      <script src="https://cdn.bootcss.com/vue/2.5.16/vue.runtime.min.js"></script>
      <script src="https://cdn.bootcss.com/vue-router/3.0.1/vue-router.min.js"></script>
      <script src="https://cdn.bootcss.com/axios/0.18.0/axios.min.js"></script>
      <script src="https://cdn.bootcss.com/lodash.js/4.17.10/lodash.min.js"></script>
      <script src="https://cdn.bootcss.com/echarts/4.1.0.rc2/echarts.min.js"></script>
    `%>
      <% } %>
</head>

<body>
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>

</html>